package book;
//20230404430920沈泽华
abstract class book {
    int bookPage;//页码
    double discount;//折扣
    double price;//价格

    public book(int bookPage,double discount){
        this.bookPage = bookPage;
        this.discount = discount;
    }

    public abstract void show_kind();
    public abstract double getPrice(int bookPage,double discount);
    public abstract void showPrice();

    public void setPrice(double price) {
        this.price = price;
    }
}
